
export function getToday(){
  var date = new Date();
  var year = date.getFullYear(); //年
  var month = date.getMonth() + 1; //月；因为month属性从0开始所以要加1
  var day = date.getDate(); //天
  var week = date.getDay(); //周
  var hour = date.getHours(); //小时
  var minute = date.getMinutes(); //分钟
  var second = date.getSeconds(); //秒
  return year + "-" + month + "-" + day;
}
